package com.hskn.hss.module.tlempincidental.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hskn.hss.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TlEmpIncidental implements Serializable {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 人员id
     */
    private String empid;
    /**
     * 姓名
     */
    @Excel(name = "姓名（必填）")
    @TableField(exist = false)
    private String empName;

    /**
     * 部门id
     */
    private String empdeptid;
    /**
     * 所属机构
     */
    @Excel(name = "所属机构（必填）")
    @TableField(exist = false)
    private String empdeptName;

    /**
     * 工号
     */
    @TableField(exist = false)
    private String emplnum;

    /**
     * 作业类型
     */
    @TableField(exist = false)
    private String persontype;


    /**
     * 身份证号码
     */
    @TableField(exist = false)
    private String idcardnum;

    /**
     * 缴费时间
     */
    @Excel(name = "缴费时间（必填）")
    private Date paydate;

    private String month;

    /**
     * 费用
     */
    @Excel(name = "费用")
    private BigDecimal paycost;

    /**
     * 费用类型
     */
    private String costtype;
    /**
     * 费用类型
     */
    @Excel(name = "费用类型")
    @TableField(exist = false)
    private String costtypeName;

    /**
     * 附件url
     */
    private String fileurl;

    /**
     * 缴费人
     */
    private String costpersion;

    /**
     * 地点
     */
    @Excel(name = "地点")
    private String addr;

    /**
     * 备注
     */
    private String remark;

    private String createby;

    private Date createtime;

    private String updateby;

    private Date updatetime;

    /**
     * 创建部门id
     */
    private String deptid;
    /**
     * 工种
     */
    private String workType;
    /**
     * 工种
     */
    @ApiModelProperty(value = "工种", name = "workType", dataType = "String", example = "")
    @TableField(exist = false)
    private String workTypeName;
    /**
     * 作业类型
     */
    @ApiModelProperty(value = "作业类型", name = "operationId")
    private String operationId;
    /**
     * 作业类型
     */
    @ApiModelProperty(value = "作业类型", name = "operationId")
    @TableField(exist = false)
    private String operationName;



}
